package com.wzz.seckillone.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wzz.seckillone.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import java.util.*;
/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2021-10-28
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    User test(String id);
    /**
     * @Method
     * @Author wzz
     * @Version  1.0
     * @Description 根据用户id查询用户信息
     * @param
     * @Return
     * @Exception
     * @Date 2022/3/17 22:41
     */
    User getUserById(String mobile);

    /**
     * @Method
     * @Author wzz
     * @Version  1.0
     * @Description保存用户信息
     * @param
     * @Return
     * @Exception
     * @Date 2022/3/17 22:52
     */
    void saveUser(User user);


}

